
package com.be.beadmin.design.repository;

import com.be.beadmin.design.entity.BomReviewMain;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zhouz
* @date 2023-11-10
**/
public interface BomReviewMainRepository extends JpaRepository<BomReviewMain, String>, JpaSpecificationExecutor<BomReviewMain> {

    BomReviewMain findBomReviewMainByIdAndDelete(String id, Integer delete);

    BomReviewMain findBomReviewMainById(String id);

    BomReviewMain findBomReviewMainByProductCodeAndDeleteAndChangeStatus(String productCode, Integer delete, Integer changeStatus);
}